package com.library.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: lawyer
 * @description: 用户登陆成功响应实体
 * @author: Mr.An
 * @create: 2020-12-29 23:49
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户登陆成功响应实体")
public class UserLoginResponse {

	@ApiModelProperty(value ="用户token")
    private String token;

	@ApiModelProperty(value ="用户id")
    private Long userId;

	@ApiModelProperty(value ="用户名称")
    private String name;

	@ApiModelProperty(value ="用户昵称")
    private String nick;
}
